class CreateEshopUnions < ActiveRecord::Migration
  def change
    create_table :eshop_unions, :force => true do |t|
      t.string :value, :limit => 15, :null => false
      t.string :presentation, :limit => 15, :null => false
    end

    add_index :eshop_unions, :value, :unique => true
  end
end
